//
//  BMSIPBlockStatusModel.h
//  WDBMS
//
//  Created by YeJary on 2025/5/12.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface BMSIPInfo : NSObject

@property (nonatomic, copy) NSString *ip_address;
@property (nonatomic, copy) NSString *global;
@property (nonatomic, copy) NSString *nation;
@property (nonatomic, copy) NSString *nation_name_en;
@property (nonatomic, copy) NSString *nation_name_en_abbr;
@property (nonatomic, copy) NSString *province;
@property (nonatomic, copy) NSString *city;
@property (nonatomic, copy) NSString *district;
@property (nonatomic, copy) NSString *isp;
@property (nonatomic, copy) NSString *adcode;
@property (nonatomic, copy) NSString *gps;

+ (instancetype)modelWithDictionary:(NSDictionary *)dict;

@end

@interface BMSIPBlockStatusModel : NSObject

@property (nonatomic, assign) BOOL isEnable;  // YES 表示不屏蔽，NO 表示屏蔽
@property (nonatomic, strong, nullable) BMSIPInfo *info;

+ (instancetype)modelWithDictionary:(NSDictionary *)dict;

@end

NS_ASSUME_NONNULL_END
